import request from '@/utils/request'

// 查询师资管理荣誉资质信息列表
export function listTeacherHonor(query) {
  return request({
    url: '/teacherHonor/teacherHonor/list',
    method: 'get',
    params: query
  })
}

// 查询师资管理荣誉资质信息详细
export function getTeacherHonor(id) {
  return request({
    url: '/teacherHonor/teacherHonor/' + id,
    method: 'get'
  })
}

// 新增师资管理荣誉资质信息
export function addTeacherHonor(data) {
  return request({
    url: '/teacherHonor/teacherHonor',
    method: 'post',
    data: data
  })
}

// 修改师资管理荣誉资质信息
export function updateTeacherHonor(data) {
  return request({
    url: '/teacherHonor/teacherHonor',
    method: 'put',
    data: data
  })
}

// 删除师资管理荣誉资质信息
export function delTeacherHonor(id) {
  return request({
    url: '/teacherHonor/teacherHonor/' + id,
    method: 'delete'
  })
}
